package com.csstu.tomcat.servlet;

import com.csstu.tomcat.http.CsRequest;
import com.csstu.tomcat.http.CsResponse;

import java.io.IOException;

/**
 * @author 程硕
 * @version 1.0
 */
public interface CsServlet {
    void init()throws Exception;
    void service(CsRequest request, CsResponse response)throws IOException;
    void destroy();
}
